@echo off
echo ===================================================
echo Weaver Game - Java Installation and Setup
echo ===================================================
echo.

REM Check if dictionary.txt exists
if exist dictionary.txt (
    echo Dictionary file found.
) else (
    echo Dictionary file not found. Checking in other locations...
    
    if exist src\main\resources\dictionary.txt (
        echo Found dictionary file in resources folder. Copying...
        copy src\main\resources\dictionary.txt .
    ) else (
        echo ERROR: Dictionary file  not found. The game may not work properly.
    )
)


echo.
echo Setup complete! You can now run the game using:
echo - run_weaver_game.bat (for the graphical version)
echo - run_weaver_cli.bat (for the command-line version)
echo.
pause
exit